package com.yf.service.course.impl;

import com.yf.service.impl.BaseServiceImpl;
import com.yf.vo.TopCourseBackVo;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

import com.yf.dao.course.TopCourseDao;
import com.yf.entity.course.TopCourseEntity;
import com.yf.service.course.TopCourseService;

/**
 * 推荐课程Service实现类
 *
 * @author hxf
 * @email 505860922@qq.com
 * @date Tue Oct 23 15:18:26 CST 2018
 */
@Service
public class TopCourseServiceImpl extends BaseServiceImpl<TopCourseEntity> implements TopCourseService {
    @Autowired
    private TopCourseDao topCourseDao;



    /**内部方法**/


    /**外部方法实现**/

    @Override
    public List<TopCourseEntity> getAll() {
        return topCourseDao.getAll();
    }

    @Override
    public List<TopCourseBackVo> topCourseList(Map<String, Object> params) {
        return topCourseDao.topCourseList(params);
    }
}
